// 导出所有服务
export { borrowService } from './services/borrowService';
export { userService } from './services/userService';
// export { materialService } from './services/materialService';
// export { memberService } from './services/memberService';

// 导出 HTTP 配置
export { http } from './http/axios';

// 导出类型
export type {
  BorrowRecord,
  CreateBorrowRequest,
  UpdateBorrowRequest,
  BorrowQueryParams
} from './types/borrow';

export type { User } from './services/userService';
// export type { Material } from './services/materialService';
// export type { Member } from './services/memberService';

// 导出工具函数
// export {
//   validateBorrowRecord,
//   formatBorrowRecord,
//   calculateOverdueStatus
// } from './utils/apiUtils';

// 导出常量
export { ENDPOINTS } from './constants/endpoints';
export { ERROR_CODES, ERROR_MESSAGES } from './constants/errorCodes';